package com.p04.homework;

/**
 * 用户类
 */
public class Account {
    /**
     * 卡号
     */
    public String cardNo;
    /**
     * 密码
     */
    public String pwd;

    /**
     * 卡上余额
     */
    public double money;

    /**
     * 账户名
     */
    public String username;

    public Account() {
    }

    public Account(String cardNo, String pwd, double money, String username) {
        this.cardNo = cardNo;
        this.pwd = pwd;
        this.money = money;
        this.username = username;
    }
}
